
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
    <title>dbm.FluidMixture.viscosity &#8212; Texas A&amp;M Oil spill / Outfall Calculator 2.1.0 documentation</title>
    <link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    <script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
    <script src="../../_static/jquery.js"></script>
    <script src="../../_static/underscore.js"></script>
    <script src="../../_static/doctools.js"></script>
    <script src="../../_static/language_data.js"></script>
    <link rel="index" title="Index" href="../../genindex.html" />
    <link rel="search" title="Search" href="../../search.html" />
    <link rel="next" title="dbm.FluidParticle" href="dbm.FluidParticle.html" />
    <link rel="prev" title="dbm.FluidMixture.solubility" href="dbm.FluidMixture.solubility.html" />
   
  <link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <div class="section" id="dbm-fluidmixture-viscosity">
<h1>dbm.FluidMixture.viscosity<a class="headerlink" href="#dbm-fluidmixture-viscosity" title="Permalink to this headline">¶</a></h1>
<dl class="method">
<dt id="dbm.FluidMixture.viscosity">
<code class="sig-prename descclassname">FluidMixture.</code><code class="sig-name descname">viscosity</code><span class="sig-paren">(</span><em class="sig-param">self</em>, <em class="sig-param">m</em>, <em class="sig-param">T</em>, <em class="sig-param">P</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/dbm.html#FluidMixture.viscosity"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#dbm.FluidMixture.viscosity" title="Permalink to this definition">¶</a></dt>
<dd><p>Computes the dynamic viscosity of the gas/liquid mixture.</p>
<p>Computes the dynamic viscosity of gas and liquid using correlation
equations in Pedersen et al. (2014) “Phase Behavior of Petroleum
Reservoir Fluids”, 2nd edition, chapter 10.  This function has been
tested for non-hydrocarbon mixtures (oxygen, carbon dioxide) and 
shown to give reasonable results; hence, the same equations are used
for all mixtures.</p>
<dl class="simple">
<dt>Parameters size (nc)</dt><dd><p>masses of each component in a mixture (kg)</p>
</dd>
<dt>T<span class="classifier">float</span></dt><dd><p>mixture temperature (K)</p>
</dd>
<dt>P<span class="classifier">float</span></dt><dd><p>mixture pressure (Pa)</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><dl class="simple">
<dt><strong>mu_p</strong><span class="classifier">ndarray, size (2)</span></dt><dd><p>dynamic viscosity for gas (row 1) and liquid (row 2) (Pa s)</p>
</dd>
</dl>
</dd>
</dl>
</dd></dl>

</div>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../../index.html">Texas A&M Oil spill / Outfall Calculator</a></h1>








<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../../user_manual.html">TAMOC User Manual</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../unit_tests.html">Unit Tests</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../bugs.html">Reporting Bugs</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../readme.html">Read Me File</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../release.html">Release Notes</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../license.html">License</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="../../index.html">Documentation overview</a><ul>
  <li><a href="../../user_manual.html">TAMOC User Manual</a><ul>
  <li><a href="../../modules/dbm.html">Overview of the Discrete Bubble Model</a><ul>
  <li><a href="dbm.FluidMixture.html">dbm.FluidMixture</a><ul>
      <li>Previous: <a href="dbm.FluidMixture.solubility.html" title="previous chapter">dbm.FluidMixture.solubility</a></li>
      <li>Next: <a href="dbm.FluidParticle.html" title="next chapter">dbm.FluidParticle</a></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" />
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>$('#searchbox').show(0);</script>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2020, Scott A. Socolofsky.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.4</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
      
      |
      <a href="../../_sources/autodoc/dbm/dbm.FluidMixture.viscosity.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>